﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Model;
using BLL;

namespace EstateappraisalApi.Controllers
{
    public class AuthorityAndRolesController : ApiController
    {

        AuthorityAndRolesBLL bll = new AuthorityAndRolesBLL();
        /// <summary>
        /// 查找权限
        /// </summary>
        /// <param name="roles_Id"></param>
        /// <returns></returns>
        public List<AuthorityAndRoles> Get(int roles_Id, int ParentId)
        {
            var Plist = bll.ShowAuthorityAndRoles(roles_Id, ParentId);
            return Plist;
        }



    }
}
